package com.cloudy.impl;

import com.cloudy.exception.AWSAccessException;
import com.cloudy.exception.S3AccessException;
import com.cloudy.utility.CloudyUtility;

import java.io.InputStream;

public abstract class ErrorResponseHandler {

    public abstract void handleException(InputStream errorStream) throws AWSAccessException;

    public abstract Object unmarshalTheResponse(InputStream stream) throws AWSAccessException;
}